/* 
  该文件专门为Count组件生成action对象
*/
/* function createIncrementAction (data) {
  return {type: 'increment', data}
} */

import {INCREMENT, DECREMENT} from "./constant"

export const createIncrementAction = data => ({type: INCREMENT, data})
export const createDecrementAction = data => ({type: DECREMENT, data})
